//
//  AddFoodViewController.h
//  ZooNgonDoiOS
//
//  Created by Trung sound on 9/17/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PickImageSourceAlertView.h"
#import "ZooFoodBean.h"

@protocol AddFoodDelegate <NSObject>
@optional
-(void)addFoodDone:(ZooFoodBean *)newFood state:(BOOL)stateAdd;

@end

@interface AddFoodViewController : UIViewController <UITextFieldDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, PickImageSourceDelegate>{
    UIView *_vHeader;
    UIButton *_btnBack;
    UILabel *_lbTitle;
    
    UILabel *_lbFoodName;
    UITextField *_tfFoodName;
    
    UILabel *_lbFoodCost;
    UITextField *_tfFoodCost;
    
    UIImagePickerController *_imagePicker;
    
    UIButton *_btnImageFood;
    UIImageView *_vImageFood;
    UIButton *_btnAddDone;
    UIButton *_btnAddMore;
}

@property (nonatomic, assign) id<AddFoodDelegate> addFoodDelegate;

- (id)initAddFood;

@end
